package com.woniu.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean;


/**
 * @Author zhaoj
 * @Date 2025/6/10 11:23
 * @Description TODO
 **/
@SpringBootConfiguration
public class SwaggerConfig {
    @Bean
    public OpenAPI springOpenAPI(){
        return new OpenAPI().info(new Info() //
                .title("API 蜗牛网安项目 SpringDoc") //
                .description("SpringDoc Simple Application") //
                .version("0.0.1"));

    }

}
